<template>
	<view>
		<view class="box">
			<view class="price">
				+990
			</view>
			<view class="status">
				<image src="../../static/img/my/success.png" style="width: 24rpx; height: 24rpx;margin-right: 10rpx;"></image>
				{{$t('my.completed')}}
			</view>
			<view class="info-box">
				<view class="text-box">
					<text>{{$t('my.address')}}</text>
					nboep2r5902kv736
				</view>
				<view class="text-box">
					<text>{{$t('my.account')}}</text>
					g57h5r
				</view>
				<view class="text-box">
					<text>{{$t('my.time')}}</text>
					2024-12-23 21:19:04
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	import {onLoad} from '@dcloudio/uni-app'
	import {ref} from 'vue'
	
	const info = ref({})
	
	onLoad((options)=>{
		if(options.info){
			info.value = JSON.parse(options.info)
		}
	})
</script>

<style lang="scss" scoped>
	.box{
		width: calc(100vw - 80rpx);
		margin: 40rpx auto 0;
		padding: 70rpx 40rpx;
		box-sizing: border-box;
		background: #f5f5f5;
		border-radius: 16rpx;
		.price{
			font-weight: bold;
			font-size: 72rpx;
			color: #1F1F1F;
			text-align: center;
		}
		.status{
			display: flex;
			justify-content: center;
			align-items: center;
		}
		.info-box{
			padding-top: 60rpx;
			.text-box{
				display: flex;
				justify-content: space-between;
				align-items: center;
				color: #1F1F1F80;
				padding: 6rpx 0;
			}
		}
	}
</style>